package com.molichuxing.gateway.bff.car.entity.response;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.molichuxing.framework.dto.ResponseRootDto;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * The type Warehouse alarm vo.
 *
 * @author wanghualin
 * @date 2020 -04-03 16:03:52
 */
@Data
public class WarehouseAlarmVo  extends ResponseRootDto {
    @ApiModelProperty(value = "车id")
    private Integer carId;
    @ApiModelProperty(value = "车架号")
    private String vin;
    @ApiModelProperty(value = "车牌号")
    private String licencePlate;
    @ApiModelProperty(value = "最后上报时间")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
    private Date lastReportDate;
    @ApiModelProperty(value = "车型名称")
    private String vehicleName;
    @ApiModelProperty(value = "中转库")
    private String stockName;
    @ApiModelProperty(value = "报警类型")
    private Integer alarmType;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
    @ApiModelProperty(value = "开始报警时间")
    private Date beginTime;
    /**
     * 唯一 报警编码
     */
    @ApiModelProperty(value = "唯一报警编码")
    private String alarmId;
    /**
     * 实际行驶里程
     */
    @ApiModelProperty(value = "实际行驶里程")
    private Double actualMileage;
}
